package com.ruoyi.system.domain.user;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * This file is part of 南阳迈特网络科技有限公司.
 * @company  南阳迈特网络科技有限公司
 * @link     https://www.nymaite.com
 * @document https://product.nymaite.cn
 * @contact  service@nymaite.com
 * @author nymaite
 */
/**
 * 钱包日志对象 vs_dramas_user_wallet_log
 * 
 * @author zzx
 * @date 2024-04-30
 */
public class VsDramasUserWalletLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志 id */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long siteId;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 变动金额 */
    @Excel(name = "变动金额")
    private BigDecimal wallet;

    /** 日志类型:money=余额,score=积分,usable=AI次数 */
    @Excel(name = "日志类型:money=余额,score=积分,usable=AI次数")
    private String walletType;

    /** 变动类型 */
    @Excel(name = "变动类型")
    private String type;

    /** 变动前 */
    @Excel(name = "变动前")
    private BigDecimal before;

    /** 变动后 */
    @Excel(name = "变动后")
    private BigDecimal after;

    /** 项目 id */
    @Excel(name = "项目 id")
    private String itemId;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 附加字段 */
    @Excel(name = "附加字段")
    private String ext;

    /** 操作人类型 */
    @Excel(name = "操作人类型")
    private String operType;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operId;

    private Long createtime;

    private Long updatetime;

    private String walletTypeName;

    private String langId;

    public String getLangId() {
        return langId;
    }

    public void setLangId(String langId) {
        this.langId = langId;
    }

    public String getWalletTypeName() {
        return walletTypeName;
    }

    public void setWalletTypeName(String walletTypeName) {
        this.walletTypeName = walletTypeName;
    }

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public Long getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Long updatetime) {
        this.updatetime = updatetime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setWallet(BigDecimal wallet) 
    {
        this.wallet = wallet;
    }

    public BigDecimal getWallet() 
    {
        return wallet;
    }
    public void setWalletType(String walletType) 
    {
        this.walletType = walletType;
    }

    public String getWalletType() 
    {
        return walletType;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setBefore(BigDecimal before) 
    {
        this.before = before;
    }

    public BigDecimal getBefore() 
    {
        return before;
    }
    public void setAfter(BigDecimal after) 
    {
        this.after = after;
    }

    public BigDecimal getAfter() 
    {
        return after;
    }
    public void setItemId(String itemId) 
    {
        this.itemId = itemId;
    }

    public String getItemId() 
    {
        return itemId;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setExt(String ext) 
    {
        this.ext = ext;
    }

    public String getExt() 
    {
        return ext;
    }
    public void setOperType(String operType) 
    {
        this.operType = operType;
    }

    public String getOperType() 
    {
        return operType;
    }
    public void setOperId(Long operId) 
    {
        this.operId = operId;
    }

    public Long getOperId() 
    {
        return operId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("siteId", getSiteId())
            .append("userId", getUserId())
            .append("wallet", getWallet())
            .append("walletType", getWalletType())
            .append("type", getType())
            .append("before", getBefore())
            .append("after", getAfter())
            .append("itemId", getItemId())
            .append("memo", getMemo())
            .append("ext", getExt())
            .append("operType", getOperType())
            .append("operId", getOperId())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .toString();
    }
}
